package com.bootdo.collection.service;

import com.bootdo.collection.domain.PictureDO;
import com.bootdo.collection.domain.PictureSetDO;
import com.bootdo.common.utils.R;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;
@Service
public interface PictureService {
    List<PictureDO> getPicturesBySetId(int pictureSetId,int stationId);
    R deleteByPictureId(int pictureId);
    void upload(int pictureSetId,String title,int[] station,int[] pictureIds) throws Exception;
    void addLibrary(PictureSetDO pictureSetDO);
    List<PictureDO> addAtlas(int pictureSetId,int[] pictureIds,String keyTitle);
    void deleteFromLibrary(String keyTitle,int[] ids);

}
